package com.cloudbroker.bcs.csvc.lightinvesting.api.entity;

import java.io.Serializable;

/**
 * Created by fangyf18371 on 2016/7/18.
 * 关注的投顾
 */
public class FocusInterestResult implements Serializable{
    private String user_type;//用户类别
    private String adviser_id;//投顾编号
    private String alias_name;//别名
    private Long collect_num;//收藏人数
    private Long sign_num;//签约人数
    private Double income_ratio;//收益率
    private String position_str;//定位串
    private Double success_rate;//胜率
    private String background_info;//	C255	背景介绍
    private Double today_income_ratio;//	N15.8	当日收益率
    private String adviser_type;//	C1	投顾类型
    private String leader_avatar;//	C1	投顾类型

    private String branch_name;//	C32	机构名称
    private String combi_code;//	C32	组合代码
    private String combi_name;//	C64	组合名称

    protected String en_cominvest_style;//	C500	投资风格字符串
    protected String invest_strategy;//	C500	投资策略
    protected String invest_strategy_oview;//	C500	投资策略概述

    protected int answer_num;//	N10    总回答数
    protected Long last_answer_time;//	N13     最近回答的时间



    public String getInvest_strategy_oview() {
        return invest_strategy_oview;
    }

    public void setInvest_strategy_oview(String invest_strategy_oview) {
        this.invest_strategy_oview = invest_strategy_oview;
    }

    public String getEn_cominvest_style() {
        return en_cominvest_style;
    }

    public void setEn_cominvest_style(String en_cominvest_style) {
        this.en_cominvest_style = en_cominvest_style;
    }

    public String getInvest_strategy() {
        return invest_strategy;
    }

    public void setInvest_strategy(String invest_strategy) {
        this.invest_strategy = invest_strategy;
    }

    public String getBranch_name() {
        return branch_name;
    }

    public void setBranch_name(String branch_name) {
        this.branch_name = branch_name;
    }

    public String getCombi_code() {
        return combi_code;
    }

    public void setCombi_code(String combi_code) {
        this.combi_code = combi_code;
    }

    public String getCombi_name() {
        return combi_name;
    }

    public void setCombi_name(String combi_name) {
        this.combi_name = combi_name;
    }

    public Long getCollect_num() {
        return collect_num;
    }

    public void setCollect_num(Long collect_num) {
        this.collect_num = collect_num;
    }

    public Long getSign_num() {
        return sign_num;
    }

    public void setSign_num(Long sign_num) {
        this.sign_num = sign_num;
    }

    public Double getIncome_ratio() {
        return income_ratio;
    }

    public void setIncome_ratio(Double income_ratio) {
        this.income_ratio = income_ratio;
    }

    public Double getSuccess_rate() {
        return success_rate;
    }

    public void setSuccess_rate(Double success_rate) {
        this.success_rate = success_rate;
    }

    public String getUser_type() {
        return user_type;
    }

    public void setUser_type(String user_type) {
        this.user_type = user_type;
    }

    public String getAdviser_id() {
        return adviser_id;
    }

    public void setAdviser_id(String adviser_id) {
        this.adviser_id = adviser_id;
    }

    public String getAlias_name() {
        return alias_name;
    }

    public void setAlias_name(String alias_name) {
        this.alias_name = alias_name;
    }

    public String getPosition_str() {
        return position_str;
    }

    public void setPosition_str(String position_str) {
        this.position_str = position_str;
    }

    public String getBackground_info() {
        return background_info;
    }

    public void setBackground_info(String background_info) {
        this.background_info = background_info;
    }

    public Double getToday_income_ratio() {
        return today_income_ratio;
    }

    public void setToday_income_ratio(Double today_income_ratio) {
        this.today_income_ratio = today_income_ratio;
    }

    public String getAdviser_type() {
        return adviser_type;
    }

    public void setAdviser_type(String adviser_type) {
        this.adviser_type = adviser_type;
    }

    public String getLeader_avatar() {
        return leader_avatar;
    }

    public void setLeader_avatar(String leader_avatar) {
        this.leader_avatar = leader_avatar;
    }

    public int getAnswer_num() {
        return answer_num;
    }

    public void setAnswer_num(int answer_num) {
        this.answer_num = answer_num;
    }

    public Long getLast_answer_time() {
        return last_answer_time;
    }

    public void setLast_answer_time(Long last_answer_time) {
        this.last_answer_time = last_answer_time;
    }

    @Override
    public boolean equals(Object obj) {
        if(obj instanceof String){
            String leader_id = obj.toString();
            if(leader_id.equals(this.getAdviser_id())){
                return true;
            }else {
                return false;
            }
        }
        return false;
    }
}
